]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
telepathyClient: remove alias-change messages, to unbreak string freeze
authorDan Winship <danw@gnome.org>
Tue, 15 Mar 2011 11:36:04 +0000 (07:36 -0400)
committerDan Winship <danw@gnome.org>
Tue, 15 Mar 2011 17:12:15 +0000 (13:12 -0400)
https://bugzilla.gnome.org/show_bug.cgi?id=642793

js/ui/telepathyClient.js

index e7a8240a93c82a02ca8068051825f39714bece5b..4634a40d308ed63ac6e612356d909a872431fd17 100644 (file)
@@ -490,16 +490,18 @@ Notification.prototype = {
     },
 
     appendAliasChange: function(oldAlias, newAlias) {
-        oldAlias = GLib.markup_escape_text(oldAlias, -1);
-        newAlias = GLib.markup_escape_text(newAlias, -1);
-
-        /* Translators: this is the other person changing their old IM name to their new
-           IM name. */
-        let message = '<i>' + _("%s is now known as %s").format(oldAlias, newAlias) + '</i>';
-        let label = this.addBody(message, true);
-        label.add_style_class_name('chat-meta-message');
-        this._history.unshift({ actor: label, time: (Date.now() / 1000), realMessage: false });
-        this.update(newAlias, null, { customContent: true });
+        // FIXME: uncomment this after 3.0 string freeze ends
+
+        // oldAlias = GLib.markup_escape_text(oldAlias, -1);
+        // newAlias = GLib.markup_escape_text(newAlias, -1);
+
+        // /* Translators: this is the other person changing their old IM name to their new
+        //    IM name. */
+        // let message = '<i>' + _("%s is now known as %s").format(oldAlias, newAlias) + '</i>';
+        // let label = this.addBody(message, true);
+        // label.add_style_class_name('chat-meta-message');
+        // this._history.unshift({ actor: label, time: (Date.now() / 1000), realMessage: false });
+        // this.update(newAlias, null, { customContent: true });
     },
 
     _onEntryActivated: function() {